package com.luyuan.crm.sale.service;

import java.util.List;

import com.luyuan.crm.sale.model.Order;
import com.luyuan.crm.sale.model.OrderRecord;
import com.ruijie.foundation.annotation.DomainService;
import com.ruijie.foundation.query.Page;
import com.ruijie.foundation.query.criteria.CriteriaTemplate;
import com.ruijie.foundation.service.Repository;

@DomainService
public interface OrderRecordService extends Repository<OrderRecord> {
    /*
     * 分页查询
     */
    public Page pagedQuery(CriteriaTemplate criteria, int pageNo, int pageSize,
            List<org.hibernate.criterion.Order> orders);

    public List<OrderRecord> getRecordByOrder(Order order);

    /**
     * <p>Description: 清楚过期日志             </p>
     * <p>Create Time: 2013-4-27   </p>
     * @author Administrator
     */
    void clearLog();
}
